import 'package:flutter_first_project/constant/index.dart';
import 'package:flutter_first_project/utils/requestDio.dart';
// 获取社区公告列表
Future getAnnounceListAPI() =>
    requestDio.get(HttpPath.communityNoticeList);
// 获取公告详情
Future getAnnounceDetailAPI(String id) {
  return requestDio.get('${HttpPath.communityNoticeList}/$id');
}
